// flex-column
@mixin flex-column($jc: space-around, $ai: center) {
  display: flex;
  flex-direction: column;
  align-items: $ai;
  justify-content: $jc;
}

// flex-column
@mixin flex($jc: space-evenly, $fd: row) {
  display: flex;
  align-items: center;
  justify-content: $jc;
  flex-direction: $fd;
}

.container {
  width: 100vw;
  height: 100vh;
  background-color: #e8dcc3;
  color: #fff;
  @include flex(center);

  .left {
    width: 450px;
    height: 360px;
    background-color: #f0eeea;
    border-top-left-radius: 30px;
    border-bottom-left-radius: 30px;
    @include flex(flex-end);
    .img {
      width: 93%;
      height: 85%;
      border-top-left-radius: 30px;
      border-bottom-left-radius: 30px;
      background-color: #b0ca1c;
      background-color: #e8dcc3;
      overflow: hidden;
      img {
        // width: 100%;
        height: 100%;
      }
    }
  }
  .right {
    width: 330px;
    height: 360px;
    border-top-right-radius: 30px;
    border-bottom-right-radius: 30px;
    background-color: #f0eeea;

    input {
      width: 65%;
      height: 34px;
      padding: 0 10px;
    }
    .login {
      height: 100%;
      @include flex-column(center);
      gap: 0.5em;
      button:nth-child(2) {
        background-color: #f0eeea;
        border: 1px solid #567e7a;
        color: #567e7a;
      }
    }
    .register {
      height: 100%;
      @include flex-column(center);
      gap: 0.5em;
      button:nth-child(2) {
        background-color: #f0eeea;
        border: 1px solid #567e7a;
        color: #567e7a;
      }
    }

    .footer {
      width: calc(65% + 20px);
      @include flex(space-between);
    }
  }

  // filter: grayscale(100%);
}

// @media screen and (max-width: 900px) {
//   .container {
//     .left {
//       margin-left: 30px;
//     }
//     .right {
//       margin-right: 30px;
//       // background-color: rgb(44, 143, 49);
//     }
//   }
// }
@media screen and (max-width: 700px) {
  .container {
    .left {
      display: none;
    }
    .right {
      width: 80vw;
      border-top-left-radius: 30px;
      border-bottom-left-radius: 30px;
      margin: auto;
    }
  }
}
